package day02;

/**
 * @author yzh
 * @desc TODO
 * @date 2025/4/8
 */
public class Test01 {
    public static void main(String[] args) {
        int a = 123;
        int unit = a % 10;
        int ten = (a / 10) % 10;
        int hundred = a / 100;
        System.out.println(a+"的个位是"+unit+",十位是"+ten+",百位是"+hundred);
    }
}
